Automattic\WooCommerce\Checkout\Helpers\ReserveStock S

Total Complexity 25
Dependencies 4
Dependents 6
Total lines 227
Lines of code 121
Logical lines of code 49
Comment lines 76
Methods 7
Properties 1

Methods 7

Method Rating Maintainability Complexity Lines of code
reserve_stock_for_order()
A
44 14 42
reserve_stock_for_product()
S
50 3 32
get_query_for_reserved_stock()
S
55 2 22
release_stock_for_order()
S
63 2 12
get_reserved_stock()
S
68 2 7
__construct()
S
78 1 3
is_enabled()
S
82 1 3